package com.kingdee.pda.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * @author：dlj
 * @data：2021/9/3:09:58
 * @des： 快速调拨请求对象
 */
public class FastAllotRequestBean {
    /**
     * 调出货主
     */
    private long outorgid;

    /**
     * 调入货主
     */
    private long inorgid;

    /**
     * 调出仓库
     */
    private long warehouseout;

    /**
     * 调入仓库
     */
    private long warehousein;

    private String type;

    /**
     * 商品明细
     */
    private List<QtfInOutEntryInfoRequest> qtfInOutEntryInfoList = new ArrayList();

    public FastAllotRequestBean(long outorgid, long inorgid, long warehouseout, long warehousein) {
        this.outorgid = outorgid;
        this.inorgid = inorgid;
        this.warehouseout = warehouseout;
        this.warehousein = warehousein;
    }

    public String getType() {
        return type == null ? "" : type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public long getOutorgid() {
        return outorgid;
    }

    public void setOutorgid(long outorgid) {
        this.outorgid = outorgid;
    }

    public long getInorgid() {
        return inorgid;
    }

    public void setInorgid(long inorgid) {
        this.inorgid = inorgid;
    }

    public long getWarehouseout() {
        return warehouseout;
    }

    public void setWarehouseout(long warehouseout) {
        this.warehouseout = warehouseout;
    }

    public long getWarehousein() {
        return warehousein;
    }

    public void setWarehousein(long warehousein) {
        this.warehousein = warehousein;
    }

    public List<QtfInOutEntryInfoRequest> getQtfInOutEntryInfoList() {
        if (qtfInOutEntryInfoList == null) {
            return new ArrayList<>();
        }
        return qtfInOutEntryInfoList;
    }

    public void setQtfInOutEntryInfoList(List<QtfInOutEntryInfoRequest> qtfInOutEntryInfoList) {
        this.qtfInOutEntryInfoList = qtfInOutEntryInfoList;
    }
}